package com.mstore.pojo;

/**
 * 
 * 微信菜单
 * 
 */
public class WeiXinMenu extends IdEntity {

	private static final long serialVersionUID = -4273005218723822698L;

	/**
	 * 是一级菜单数组，个数应为1~3个
	 */
	private boolean button;

	/**
	 * 否 二级菜单数组，个数应为1~5个
	 */
	private boolean subButton;

	/**
	 * 是 菜单的响应动作类型，目前有click、view两种类型
	 */
	private String type;

	/**
	 * 是 菜单标题，不超过16个字节，子菜单不超过40个字节
	 */
	private String name;

	/**
	 * click类型必须 菜单KEY值，用于消息接口推送，不超过128字节
	 */
	private String key;

	/**
	 * view类型跳转网址
	 */
	private String url;

	private Long parentId;

	/**
	 * 企业id
	 */
	private Long eaId;

	/**
	 * 子菜单排序标示
	 */
	private Integer sort;

	/**
	 * 业务属性
	 */
	private Reply reply;

	private BWeixinurl weixinurl;

	public boolean isButton() {
		return button;
	}

	public void setButton(boolean button) {
		this.button = button;
	}

	public boolean isSubButton() {
		return subButton;
	}

	public void setSubButton(boolean subButton) {
		this.subButton = subButton;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Long getEaId() {
		return eaId;
	}

	public void setEaId(Long eaId) {
		this.eaId = eaId;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Reply getReply() {
		return reply;
	}

	public void setReply(Reply reply) {
		this.reply = reply;
	}

	public BWeixinurl getWeixinurl() {
		return weixinurl;
	}

	public void setWeixinurl(BWeixinurl weixinurl) {
		this.weixinurl = weixinurl;
	}

}
